<#macro systemImportCss >
	<link rel="shortcut icon" href="${WEB_PATH}/resources/img/icon/jcxxpt.ico">
    <link href="${WEB_PATH}/resources/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/animate.min.css" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/style.min.css?v=5.0.0" rel="stylesheet">
	<link href="${WEB_PATH}/resources/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
	<link href="${WEB_PATH}/resources/js/plugins/intro/introjs.css" rel="stylesheet"></script>
</#macro> 

<!-- 首页-->
<#macro systemImportScript >
	<script src="${WEB_PATH}/resources/js/jquery.min.js?v=2.1.4"></script>
    <script src="${WEB_PATH}/resources/js/bootstrap.min.js?v=3.3.5"></script>
	<script src="${WEB_PATH}/resources/js/plugins/layer/layer.js"></script> 
	<script src="${WEB_PATH}/resources/js/hplus.min.js?v=4.0.0"></script>
    <script src="${WEB_PATH}/resources/js/plugins/metisMenu/jquery.metisMenu.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/slimscroll/jquery.slimscroll.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/layer/layer.js"></script>
    <script src="${WEB_PATH}/resources/js/contabs.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/pace/pace.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/intro/intro.js"></script>
    <script src="${WEB_PATH}/resources/js/map.js"></script>
    <script>
    	function quite() {
    	
    		 swal({
			        title: "您确定要退出系统吗",
			        text: "退出后将离开系统后台，请谨慎操作！",
			        type: "warning",
			        showCancelButton: true,
			        confirmButtonColor: "#DD6B55",
			        confirmButtonText: "是的，我要退出！",
			        cancelButtonText: "让我再考虑一下…",
			        closeOnConfirm: false,
			        closeOnCancel: false
			    },
			    function(isConfirm) {
			        if (isConfirm) {
			        	location.href = "${WEB_PATH }/system/user/logout.do";
			        } else {
			            swal("已取消", "您取消了退出操作！", "error")
			        }
			    });
    	}
    </script>
    
</#macro>
<!-- 首页-->

<!-- 主页CSS-->
<#macro mianImportCss >
    <link href="${WEB_PATH}/resources/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/font-awesome.min.css?v=4.4.0" rel="stylesheet"> 
    <!-- Morris -->
    <link href="${WEB_PATH}/resources/css/plugins/morris/morris-0.4.3.min.css" rel="stylesheet"> 
    <!-- Gritter -->
    <link href="${WEB_PATH}/resources/js/plugins/gritter/jquery.gritter.css" rel="stylesheet"> 
    <link href="${WEB_PATH}/resources/css/animate.min.css" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/style.min.css?v=5.0.0" rel="stylesheet"> 
    <link href="${WEB_PATH}/resources/css/plugins/chosen/chosen.css" rel="stylesheet">
</#macro>
<!-- 主页CSS-->



<!-- 主页JS-->
<#macro minImportScript >
	<script src="${WEB_PATH}/resources/js/jquery.min.js?v=2.1.4"></script>
    <script src="${WEB_PATH}/resources/js/bootstrap.min.js?v=3.3.5"></script>
    <script src="${WEB_PATH}/resources/js/plugins/echarts/echarts-all.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/countUp/countUp.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/flot/jquery.flot.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/flot/jquery.flot.tooltip.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/flot/jquery.flot.spline.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/flot/jquery.flot.resize.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/flot/jquery.flot.pie.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/flot/jquery.flot.symbol.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/peity/jquery.peity.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/chosen/chosen.jquery.js"></script>
    <script src="${WEB_PATH}/resources/js/content.min.js?v=1.0.0"></script>
    <script src="${WEB_PATH}/resources/js/plugins/jquery-ui/jquery-ui.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/jvectormap/jquery-jvectormap-1.2.2.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/jvectormap/jquery-jvectormap-world-mill-en.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/easypiechart/jquery.easypiechart.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/sparkline/jquery.sparkline.min.js"></script>
    
</#macro>
<!-- 主页JS-->  

<!-- table管理CSS-->
<#macro tableManagerImportCss >
    <link href="${WEB_PATH}/resources/css/bootstrap.min.css?v=3.3.5" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/plugins/chosen/chosen.css" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/plugins/bootstrap-table/bootstrap-table.css" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/plugins/bootstrap-table/bootstrap-editable.css" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/animate.min.css" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/style.min.css?v=5.0.0" rel="stylesheet"> 
    <link href="${WEB_PATH}/resources/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
    <link href="${WEB_PATH}/resources/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
</#macro>
<!-- table管理CSS-->


<!-- table管理JS-->
<#macro tableManagerImportScript >
	<!--[if lte IE 9]>
	<script src="${WEB_PATH}/resources/js/respond.js"></script>
	<script src="${WEB_PATH}/resources/js/html5shiv.js"></script>
	<![endif]-->
    <script src="${WEB_PATH}/resources/js/jquery-1.9.1.min.js"></script>
    <script src="${WEB_PATH}/resources/js/ajax.extend.js"></script>
    <script src="${WEB_PATH}/resources/js/bootstrap.min.js?v=3.3.5"></script>
    <script src="${WEB_PATH}/resources/js/plugins/datapicker/bootstrap-datepicker.js"></script>
    <script src="${WEB_PATH}/resources/js/content.min.js?v=1.0.0"></script>
    <script src="${WEB_PATH}/resources/js/plugins/chosen/chosen.jquery.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/bootstrap-table/bootstrap-table.js"></script> 
    <script src="${WEB_PATH}/resources/js/plugins/bootstrap-table/locale/bootstrap-table-zh-CN.js"></script> 
    <script src="${WEB_PATH}/resources/js/plugins/bootstrap-table/extensions/editable/bootstrap-table-editable.js"></script> 
    <script src="${WEB_PATH}/resources/js/plugins/bootstrap-table/bootstrap-editable.js"></script> 
    <script src="${WEB_PATH}/resources/js/plugins/sweetalert/sweetalert.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/treeview/bootstrap-treeview.js"></script>   
    <script src="${WEB_PATH}/resources/js/plugins/validate/jquery.validate.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/validate/messages_zh.min.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/validate/jquery.validate.method.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/suggest/bootstrap-suggest.js"></script>
    <script src="${WEB_PATH}/resources/js/plugins/layer/layer.js"></script>
    <script>
    $.ajaxSetup({   
	     contentType:"application/x-www-form-urlencoded;charset=utf-8",   
	     complete:function(XMLHttpRequest,textStatus){   
		     var sessionstatus=XMLHttpRequest.getResponseHeader("sessionstatus"); //通过XMLHttpRequest取得响应头，sessionstatus，  
		     if(sessionstatus=="timeout"){   
				 //如果超时就处理 ，指定要跳转的页面  
					 window.location.replace("${WEB_PATH }/system/user/view/login.do.do");   
		      }
	     }   
	   });
    </script>
</#macro>
<!-- table管理JS-->

<!-- 登陆CSS/JS -->
<#macro loginImport >
    <script src="${WEB_PATH}/resources/js/jquery.min.js?v=2.1.4"></script>
    <script src="${WEB_PATH}/resources/js/plugins/layer/layer.js"></script> 
</#macro>
<!-- 登陆CSS/JS --> 


<!-- 左边菜单 --> 
<#macro leftMenuImportHtml > 
 <nav class="navbar-default navbar-static-side" role="navigation" id="div1">
            <div class="nav-close"><i class="fa fa-times-circle"></i>
            </div>
            <div class="sidebar-collapse" >
                <ul class="nav" id="side-menu">
                    <li class="nav-header">
                        <div>
                        	<img src="${WEB_PATH}/resources/img/home_logo_01.png" style="margin-left: 30px;margin-top: 10px; margin-bottom: 10px"/>
                        </div>
                    </li>
                     
                    <li>
                        <a class="J_menuItem"  href="${WEB_PATH }/system/admin/main.do">
                            <i class="fa fa-home" style="font-size: 18px;"></i>
                            <span class="nav-label">首页</span> 
                        </a> 
                    </li>
                    <#list moduleList as module>
                    <li>
                        <a href="
                        ${WEB_PATH}/${module.resource.url}"    
                        <#if module.resource.url != "#">class="J_menuItem" data_false = "true"</#if>>
                            <i class="iconfont" style="font-size:14px;font-style:normal;" ><#if module.iconcls>&${module.iconcls}<#else>&#xe609;</#if></i>
                            <span class="nav-label" style="font-size: 16px;">${module.name}</span>
                            <span class="fa arrow"></span>
                        </a>
                        <ul class="nav nav-second-level">
                        	<@menuPidInfo pid = module.ID>
	                    	<#list menuviews as menu >
                            <li>
                            
                              <a <#if menu.resource.url != "#"> class="J_menuItem"</#if>  href="${WEB_PATH}/${menu.resource.url}" style="font-size: 16px;">${menu.name}</a>
                            </li>
                            </#list>
							</@menuPidInfo>
                        </ul>
                    </li>
					</#list>  
					 <li class="hidden">
                        <a class="J_menuItem" id="url111"  href="${WEB_PATH }/system/admin/main.do">
                            <i class="fa fa-home" style="font-size: 18px;"></i>
                            <span class="nav-label" id="urltext">首页</span> 
                        </a> 
                    </li>  
                </ul>
            </div>
           
        </nav>
        <!--左侧导航结束-->
        <script>
        	function targetBlank(url) {
        		window.open(url);
        	}
        </script>

</#macro>
<!-- 左边菜单 --> 

<#macro miniChartImportHtml >
 <!--右侧边栏开始--> 
  <div id="right-sidebar"> 
   <div class="sidebar-container"> 
    <ul class="nav nav-tabs navs-3"> 
     <li class="active"> <a data-toggle="tab" href="#tab-1"> <i class="fa fa-gear"></i> 主题 </a> </li> 
    </ul> 
    <div class="tab-content"> 
     <div id="tab-1" class="tab-pane active"> 
      <div class="sidebar-title"> 
       <h3> <i class="fa fa-comments-o"></i> 主题设置</h3> 
       <small><i class="fa fa-tim"></i> 你可以从这里选择和预览主题的布局和样式，这些设置会被保存在本地，下次打开的时候会直接应用这些设置。</small> 
      </div> 
      <div class="skin-setttings"> 
       <div class="title">
       	         主题设置
       </div> 
       <div class="setings-item"> 
        <span>收起左侧菜单</span> 
        <div class="switch"> 
         <div class="onoffswitch"> 
          <input type="checkbox" name="collapsemenu" class="onoffswitch-checkbox" id="collapsemenu" /> 
          <label class="onoffswitch-label" for="collapsemenu"> <span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span> </label> 
         </div> 
        </div> 
       </div> 
       <div class="setings-item"> 
        <span>固定顶部</span> 
        <div class="switch"> 
         <div class="onoffswitch"> 
          <input type="checkbox" name="fixednavbar" class="onoffswitch-checkbox" id="fixednavbar" /> 
          <label class="onoffswitch-label" for="fixednavbar"> <span class="onoffswitch-inner"></span> <span class="onoffswitch-switch"></span> </label> 
         </div> 
        </div> 
       </div>  
      </div> 
     </div> 
    </div> 
   </div> 
  </div> 
  <!--右侧边栏结束--> 
  <!--mini聊天窗口开始--> 
  <div class="small-chat-box fadeInRight animated"> 
   <div class="heading" draggable="true"> 
    <small class="chat-date pull-right"> 2015.9.1 </small> 与 Beau-zihan 聊天中 
   </div> 
   <div class="content"> 
    <div class="left"> 
     <div class="author-name">
       Beau-zihan 
      <small class="chat-date"> 10:02 </small> 
     </div> 
     <div class="chat-message active">
       你好 
     </div> 
    </div> 
    <div class="right"> 
     <div class="author-name">
       游客 
      <small class="chat-date"> 11:24 </small> 
     </div> 
     <div class="chat-message">
       你好，请问H+有帮助文档吗？ 
     </div> 
    </div> 
    <div class="left"> 
     <div class="author-name">
       Beau-zihan 
      <small class="chat-date"> 08:45 </small> 
     </div> 
     <div class="chat-message active">
       有，购买的H+源码包中有帮助文档，位于docs文件夹下 
     </div> 
    </div> 
    <div class="right"> 
     <div class="author-name">
       游客 
      <small class="chat-date"> 11:24 </small> 
     </div> 
     <div class="chat-message">
       那除了帮助文档还提供什么样的服务？ 
     </div> 
    </div> 
    <div class="left"> 
     <div class="author-name">
       Beau-zihan 
      <small class="chat-date"> 08:45 </small> 
     </div> 
     <div class="chat-message active">
       1.所有源码(未压缩、带注释版本)； 
      <br /> 2.说明文档； 
      <br /> 3.终身免费升级服务； 
      <br /> 4.必要的技术支持； 
      <br /> 5.付费二次开发服务； 
      <br /> 6.授权许可； 
      <br /> …… 
      <br /> 
     </div> 
    </div> 
   </div> 
   <div class="form-chat"> 
    <div class="input-group input-group-sm"> 
     <input type="text" class="form-control" /> 
     <span class="input-group-btn"> <button class="btn btn-primary" type="button">发送 </button> </span> 
    </div> 
   </div> 
  </div> 
  <div id="small-chat"> 
   <span class="badge badge-warning pull-right">5</span> 
   <a class="open-small-chat"> <i class="fa fa-comments"></i> </a> 
  </div>  
 </#macro>
 
  
 <!-- 左边菜单 --> 
	 

 
 